Google Cloud has
a range of compute options you can use to run your applications. You can choose a platform that matches
the needs of your application, including the level of control
that you need for the infrastructure. Having more control
over the infrastructure usually leads to a greater
operational burden. If you use the Cloud Client Libraries
in your application to work with Google Cloud services,
you can usually move to another platform without having to rework your application. In this module, you learn about
which use cases are most appropriate for each compute option
and how to decide between them. Google Cloud provides
a wide range of platforms on which to run your applications. Compute Engine lets you create
virtual machines, or VMs, that mimic the servers you may have used
in a traditional data center. Virtual machines are highly flexible: they let you run the same wide
range of applications you can run on physical hardware,
but now on Google's infrastructure. Google Kubernetes Engine, or GKE,
is Google Cloud's managed service for running containers and managing
the virtual machines used to run them. With GKE, a cluster of virtual machines is created for running
your containerized applications. When you deploy your applications
to the cluster, GKE can manage the scaling and security
for the cluster and applications, thus reducing the operational costs
of running your applications. Cloud Run is a fully
managed serverless platform that also runs containerized applications. Unlike with GKE,
all infrastructure management for Cloud Run is abstracted away. Cloud Run automatically scales up and down from zero almost instantaneously,
depending on traffic. You only pay when your code is running. Cloud functions also lets
you run your code in the cloud with zero management
of servers or containers. Write your event-driven
code, and Google Cloud manages everything, scaling from zero
to planet-scale. So, which compute option
should you use to run your applications? Well, it depends.